{* Smarty *}
<form action="javascript:void(null)" method="post" onsubmit="ajax_process_form('{$smarty.const.MODULE_EXPERIMENT}', '{$smarty.const.EXPERIMENT_ACTION_NEXT_STEP}', xajax.getFormValues(this)); return false;">
<li><a href="{url module=$smarty.const.MODULE_EXPERIMENT action=$smarty.const.EXPERIMENT_ACTION_NEW_SEQUENCE_EXPERIMENT}">Experiment with sequence</a></li>
<div class="header">
	New chain experiment
</div>
<!--<div>
	<fieldset>
		<legend>
			<span class="legend">
				<input type="radio" name="exp" value="create_alphabet" />
				Create alphabet
			</span>
		</legend>
		<div>
			Length 
			<input type="text" name="length" value="" />
		</div>
		<div style="margin-top: 5px; margin-left: 15px;">
			Step 
			<input type="text" name="step" value="" />
		</div>
	</fieldset>
</div>-->
<div>
<fieldset>
	<legend>
		<span class="legend"><input type="radio" name="exp"	value="markov" /> Markov chains </span>
 	 </legend> 
 	 {strip}
	<div style="margin-top: 5px;">Markov Chain Rang <input type="text" style="margin-left: 27px;" name="markov_chain_rang" value="" /></div>
	{/strip}
<div style="margin-top: 5px;">
	 Generate Chains Count
	 <input  type="text" name="generate_chains_count" value="" />
</div>
<div style="margin-top: 5px;">Length Of Chains 
	<input type="text" style="margin-left: 39px;" name="length_of_chains" value="" />
</div>
<div style="margin-top: 5px;">Pre Changes 
	<select style="margin-left: 67px;" name="pre_changes">
		<option value="None">None</option>
		<option value="Cycle">Cycle</option>
		<option value="CycleBuilding">CycleBuilding</option>
	</select>
</div>
<div style="margin-top: 5px;">Method 
	<select name="method" style="margin-left: 101px;">
		<option value="Uniform">Uniform</option>
		<option value="NotUniform">NotUniform</option>
	</select>
</div>
<div style="margin-top: 5px;">Generator 
	<select name="generator" style="margin-left: 84px;">
		<option value="SimpleGenerator">SimpleGenerator</option>
	</select>
</div>

</div>
<!--<div>
	<fieldset>
		<legend>
			<span class="legend">
				<input type="radio" name="exp" value="matrix"/>
				Matrix experiment
			</span>
		</legend>
			<select name="Matrix">
				<option value="1">Первый</option>
				<option value="2">Второй</option>
			</select>
	</fieldset>
</div>
<div>
	<fieldset>
		<legend>
			<span class="legend">
				Alphabet
			</span>
		</legend>
		<fieldset>
			<legend>
				<span>
					<input type="radio" name="alphabet" value="exist"/>
					Use exists
				</span>
			</legend>
			<select name="alphabets">
				<option value="1">Первый</option>
				<option value="2">Второй</option>
			</select>
		</fieldset>
		<fieldset>
			<legend>
				<span>
					<input type="radio" name="alphabet" value="create"/>
					Create new
				</span>
			</legend>
			<select name="methods">
				<option value="1">Первый</option>
				<option value="2">Второй</option>
			</select>
				<div>
					<input type="radio" name="priority"/>
					Tiny
				</div>
				<div>
					<input type="radio" name="priority"/>
					Long
				</div>
		</fieldset>
	</fieldset>
</div>-->
<div>
	<input type="button" name="add_chain" value="Add chain"	onclick="ajax_switch_content('{$smarty.const.MODULE_EXPERIMENT}', '{$smarty.const.EXPERIMENT_ACTION_ADD_OBJECT_TYPE_FOR_CHAIN}', 'chain');" />
</div>
<div id="table"></div>
<div id="process">
	<input type="button" name="back" value="Cancel" onclick="document.location.href='{url module=$MODULE action=$smarty.const.EXPERIMENT_ACTION_CANCEL}';" />
	<input type="submit" name="go" value="Next" />
</div>
</form>
